#!/bin/bash -ex

# Install Docker
curl -sf https://get.docker.com | sh -

# Add current user into docker group
sudo usermod -aG docker $USER

# Initialize Swarm mode
sudo docker swarm init
